// eee.Sheffield.PZ.Imaging
//
// Copyright ? Ping Zou, 2006
// sg71.cherub@gmail.com
//
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Diagnostics;

namespace eee.Sheffield.PZ.Imaging.ImageIO
{
    /// <summary>
    /// DICOM Image IO
    /// </summary>
    public class DICOMImageIO : ImageIO
    {
        //#region Fields
        //private String fileName = null;
        //private Bitmap image = null;
        //#endregion

        //#region Properties
        //public String FileName
        //{
        //    get { return fileName; }
        //    set { fileName = value; }
        //}
        //public Bitmap Image
        //{
        //    get { return image; }
        //    set { image = value; }
        //}
        //#endregion

        #region Constructors
        public DICOMImageIO(string fileName) : base(fileName) {}
        //{
        //    this.fileName = fileName;
        //}
        public DICOMImageIO(string fileName, Bitmap image) : base(fileName, image) {}
        //{
        //    this.fileName = fileName;
        //    this.image = new Bitmap(image);
        //}
        #endregion

        #region interface methods implementation
        public override void LoadImage()
        {
            // TODO: add this function

            throw new Exception("The method or operation is not implemented.");
        }

        public override void SaveImage()
        {
            // TODO: add this function
            
            throw new Exception("The method or operation is not implemented.");
        }

        //public override void LoadImage()
        //{          
        //    // TODO load DICOM file
        //}// LoadImage()

        ///// <summary>
        ///// save image
        ///// </summary>
        //public void SaveImage()
        //{
        //    throw new ApplicationException("DICOMImageIO::SaveImage(), program does not support save image in DICOM format.");
        //}// SaveImage()

        #endregion
    }
}
